<html><head><title>GadgetWidth</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">GadgetWidth()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>GadgetWidth</b></font>(#Gadget [, Mode])</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Returns the width of the specified gadget. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>#Gadget</i></td>
<td width="90%"> 
The gadget to use. 

</td></tr>
<tr><td><i>Mode (optional)</i></td>
<td> 
Can be one of the following value: 
<pre><font face="Courier New, Courier, mono"size="2">  - <font color="#924B72">#PB_Gadget_ActualSize</font>  : returns the current width of the gadget, in pixels (default).
  - <font color="#924B72">#PB_Gadget_RequiredSize</font>: returns the width needed to fully display the gadget, in pixels.
</font></pre>

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>

Returns the width of the gadget in pixels. 

</blockquote><p><b>See Also</b></p><blockquote>

<a href="gadgetheight.html">GadgetHeight()</a>, <a href="gadgetx.html">GadgetX()</a>, <a href="gadgety.html">GadgetY()</a>, <a href="resizegadget.html">ResizeGadget()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=gadgettype.html>GadgetType()</a> - <a href="index.html">Gadget Index</a> - <a href="gadgetx.html">GadgetX()</a> -><br><br>

</body></html>